home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 15
/
Aminet 15 - Nov 1996.iso
/
Aminet
/
dev
/
gcc
/
ixemsdk.lha
/
man
/
cat3
/
atof.0
< prev
next >
Wrap
Text File
|
1996-09-02
|
839b
|
28 lines
ATOF(3) UNIX Programmer's Manual ATOF(3)
NNAAMMEE
aattooff - convert ASCII string to double
SSYYNNOOPPSSIISS
##iinncclluuddee <<ssttddlliibb..hh>>
_d_o_u_b_l_e
aattooff(_c_o_n_s_t _c_h_a_r _*_n_p_t_r)
DDEESSCCRRIIPPTTIIOONN
The aattooff() function converts the initial portion of the string pointed to
by _n_p_t_r to _d_o_u_b_l_e representation.
It is equivalent to:
strtod(nptr, (char **)NULL);
SSEEEE AALLSSOO
atoi(3), atol(3), strtod(3), strtol(3), strtoul(3)
SSTTAANNDDAARRDDSS
The aattooff() function conforms to ANSI C3.159-1989 (``ANSI C'').
BSD Experimental June 29, 1991 1